version 8

set matsize 800
set more off

use prices_all_k_cluster


label variable fdeath "LTFP only"
xi: dprobit fdeath i.year*i.prod ltfp, cluster(ppn) 
label variable fdeath "LTFP2 only"
xi: dprobit fdeath i.year*i.prod ltfp2, cluster(ppn) 
label variable fdeath "LTFPPHY only"
xi: dprobit fdeath i.year*i.prod ltfpphy, cluster(ppn) 
label variable fdeath "Lprice2 only"
xi: dprobit fdeath i.year*i.prod lprice2, cluster(ppn)
label variable fdeath "dshk99 only"
xi: dprobit fdeath i.year*i.prod dshk99, cluster(ppn)
label variable fdeath "LTPPHY and LPRICE2"
xi: dprobit fdeath i.year*i.prod ltfpphy lprice2, cluster(ppn)
label variable fdeath "LTPPHY and dshk99"
xi: dprobit fdeath i.year*i.prod ltfpphy dshk99, cluster(ppn)
preserve
keep if year > 1982 
label variable fdeath "dshk99 only, 1987-1997 only"
xi: dprobit fdeath i.year*i.prod dshk99, cluster(ppn)

label variable fdeath "LTPPHY and dshk99, 1987-1997 only"
xi: dprobit fdeath i.year*i.prod ltfpphy dshk99, cluster(ppn) 
restore

* now control for capital
label variable fdeath "LTFP & K only"
xi: dprobit fdeath i.year*i.prod ltfp lk, cluster(ppn)
label variable fdeath "LTFP2 & K only"
xi: dprobit fdeath i.year*i.prod ltfp2 lk, cluster(ppn)
label variable fdeath "LTFPPHY & K only"
xi: dprobit fdeath i.year*i.prod ltfpphy lk, cluster(ppn)
label variable fdeath "Lprice2 & K only"
xi: dprobit fdeath i.year*i.prod lprice2 lk, cluster(ppn)
label variable fdeath "dshk99 & K only"
xi: dprobit fdeath i.year*i.prod dshk99 lk, cluster(ppn)
label variable fdeath "LTPPHY and LPRICE2 & K"
xi: dprobit fdeath i.year*i.prod ltfpphy lprice2 lk, cluster(ppn) 
label variable fdeath "LTPPHY and dshk99 &K "
xi: dprobit fdeath i.year*i.prod ltfpphy dshk99 lk, cluster(ppn)


preserve
keep if year > 1982 
label variable fdeath "dshk99 & K, 1987-1997 only"
xi: dprobit fdeath i.year*i.prod dshk99 lk, cluster(ppn)

label variable fdeath "LTPPHY, dshk99 & K, 1987-1997 only"
xi: dprobit fdeath i.year*i.prod ltfpphy dshk99 lk, cluster(ppn) 
restore
